package com.sinoair.service;

import com.sinoair.domain.User;
import org.springframework.transaction.annotation.Transactional;


public interface UserService {

    @Transactional
    public User login(String name, String password);

    public User findByUsername(String username);

    public User save(User user);
}